package com.project.poetry.common.util;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ScheduleJobEntity {

    public static final String JOB_PARAM_KEY = "JOB_PARAM_KEY";

    private String id;

    @NotBlank(message="cron表达式不能为空")
    private String cronExpression;

    protected Integer docStatus;
}
